function lab_order_submit8(id){
	$(location).attr('href', 'lab_order_submit8?id='+id+'');
}

function subscribe(id){
	$.ajax({
		url:Server + "/front/order/findInsinfo",
		type:"Post",
		data:{
			"id" : id
		},
		success:function(data){
			$("#chineseName").val(data[0].chineseName);
			$("#englishName").html(data[0].englishName);
			$("#infoId").val(data[0].id);
			$("#chineseName2").html(data[0].chineseName);
		},
		error:function(msg){
			alert("预约加载失败")
		}
	});
}

function saveSubscribe(){
	$.ajax({
		url:Server + "/front/order/subscribe",
		method: 'post',  
		async:false,
		data:$("#subscribe").serialize(),
		success:function(data){
			alert("预约成功");
		},
		error: function(msg) {
            alert("预约失败")
        },
	});
}